from django.contrib import admin
from .models import User
class UserManager(admin.ModelAdmin):
    list_display = ['user_name','real_name','password2','address','phone','head_img']
    list_display_links = ['user_name']
    list_editable = []
    list_filter = ['user_name','phone']
    search_fields = ['user_name','phone']
admin.site.register(User,UserManager)